<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>nrf/rfhelp.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../vesc.jpg"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_34bea165460058977cae49dd7fa81d62.html">nrf</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">rfhelp.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../de/da9/rfhelp_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    Copyright 2015 Benjamin Vedder  benjamin@vedder.se</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef RFHELP_H_</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#define RFHELP_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// Functions</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../de/da9/rfhelp_8h.html#aa69935e38607e31894a53507bf283cb3">rfhelp_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../de/da9/rfhelp_8h.html#acaf96bd25ff23746998cdccdd218e6f0">rfhelp_restart</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../de/da9/rfhelp_8h.html#a6c211deeed0c279771931901bdc836c3">rfhelp_send_data</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../de/da9/rfhelp_8h.html#ab117edf59c58a37096ce943554edca2b">rfhelp_send_data_crc</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../de/da9/rfhelp_8h.html#a16e9c5564c9de7bbbfe46e0a2aae1420">rfhelp_read_rx_data</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> *len, <span class="keywordtype">int</span> *pipe);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../de/da9/rfhelp_8h.html#afd75aa9e86ee2b60d2702bcdcd190aa0">rfhelp_read_rx_data_crc</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> *len, <span class="keywordtype">int</span> *pipe);</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../de/da9/rfhelp_8h.html#a27b2e4ffcc669c5ef100abcb076d92fe">rfhelp_rf_status</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../de/da9/rfhelp_8h.html#af893959023105d70ac3a8c6a3b27fe44">rfhelp_set_tx_addr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *addr, <span class="keywordtype">int</span> addr_len);</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../de/da9/rfhelp_8h.html#a944b325bab3dd1edb9f50ac4a4154ef3">rfhelp_set_rx_addr</a>(<span class="keywordtype">int</span> pipe, <span class="keyword">const</span> <span class="keywordtype">char</span> *addr, <span class="keywordtype">int</span> addr_len);</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../de/da9/rfhelp_8h.html#a6cb5d26c73f4fb1b134e697ecc4cc7fb">rfhelp_power_down</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../de/da9/rfhelp_8h.html#a133dd762a1cc5477506a2cea0206b4d1">rfhelp_power_up</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* RFHELP_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="rfhelp_8h_html_afd75aa9e86ee2b60d2702bcdcd190aa0"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#afd75aa9e86ee2b60d2702bcdcd190aa0">rfhelp_read_rx_data_crc</a></div><div class="ttdeci">int rfhelp_read_rx_data_crc(char *data, int *len, int *pipe)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:233</div></div>
<div class="ttc" id="rfhelp_8h_html_a27b2e4ffcc669c5ef100abcb076d92fe"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#a27b2e4ffcc669c5ef100abcb076d92fe">rfhelp_rf_status</a></div><div class="ttdeci">int rfhelp_rf_status(void)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:249</div></div>
<div class="ttc" id="rfhelp_8h_html_a133dd762a1cc5477506a2cea0206b4d1"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#a133dd762a1cc5477506a2cea0206b4d1">rfhelp_power_up</a></div><div class="ttdeci">void rfhelp_power_up(void)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:286</div></div>
<div class="ttc" id="rfhelp_8h_html_a16e9c5564c9de7bbbfe46e0a2aae1420"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#a16e9c5564c9de7bbbfe46e0a2aae1420">rfhelp_read_rx_data</a></div><div class="ttdeci">int rfhelp_read_rx_data(char *data, int *len, int *pipe)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:178</div></div>
<div class="ttc" id="rfhelp_8h_html_a6c211deeed0c279771931901bdc836c3"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#a6c211deeed0c279771931901bdc836c3">rfhelp_send_data</a></div><div class="ttdeci">int rfhelp_send_data(char *data, int len)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:85</div></div>
<div class="ttc" id="rfhelp_8h_html_ab117edf59c58a37096ce943554edca2b"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#ab117edf59c58a37096ce943554edca2b">rfhelp_send_data_crc</a></div><div class="ttdeci">int rfhelp_send_data_crc(char *data, int len)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:149</div></div>
<div class="ttc" id="rfhelp_8h_html_af893959023105d70ac3a8c6a3b27fe44"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#af893959023105d70ac3a8c6a3b27fe44">rfhelp_set_tx_addr</a></div><div class="ttdeci">void rfhelp_set_tx_addr(const char *addr, int addr_len)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:257</div></div>
<div class="ttc" id="rfhelp_8h_html_a6cb5d26c73f4fb1b134e697ecc4cc7fb"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#a6cb5d26c73f4fb1b134e697ecc4cc7fb">rfhelp_power_down</a></div><div class="ttdeci">void rfhelp_power_down(void)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:280</div></div>
<div class="ttc" id="rfhelp_8h_html_a944b325bab3dd1edb9f50ac4a4154ef3"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#a944b325bab3dd1edb9f50ac4a4154ef3">rfhelp_set_rx_addr</a></div><div class="ttdeci">void rfhelp_set_rx_addr(int pipe, const char *addr, int addr_len)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:268</div></div>
<div class="ttc" id="rfhelp_8h_html_aa69935e38607e31894a53507bf283cb3"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#aa69935e38607e31894a53507bf283cb3">rfhelp_init</a></div><div class="ttdeci">void rfhelp_init(void)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:34</div></div>
<div class="ttc" id="rfhelp_8h_html_acaf96bd25ff23746998cdccdd218e6f0"><div class="ttname"><a href="../../de/da9/rfhelp_8h.html#acaf96bd25ff23746998cdccdd218e6f0">rfhelp_restart</a></div><div class="ttdeci">void rfhelp_restart(void)</div><div class="ttdef"><b>Definition:</b> rfhelp.c:57</div></div>
</div><!-- fragment --></div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://github.com/joshdellay" target="_new">Josh Dellay</a>